package org.example.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class City {
    private Long id;
    private Long pid;
    private String cityname;
    private Long type;
    private List<City> children = new ArrayList<>();
    private Long aid;
    private String acityname;
    private Long bid;
    private String bcityname;
    private Long cid;
    private String ccityname;
    private Long did;
    private String dcityname;
}
